package com.example.hzly.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.hzly.entity.TeamMember;
import com.example.hzly.mapper.TeamMemberMapper;
import com.example.hzly.service.TeamMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeamMemberServiceImpl extends ServiceImpl<TeamMemberMapper, TeamMember> implements TeamMemberService {

    @Autowired
    private TeamMemberMapper teamMemberMapper;
    
    @Override
    public List<TeamMember> getActiveMembers() {
        return teamMemberMapper.selectActiveMembers();
    }
}